4079d82cacdedcfd779fb083b4167f4fa1ac18ac,nakadi-java-client/src/main/java/nakadi/SubscriptionResourceReal.java,SubscriptionResourceReal,loadPage,#String#,197

Before Change


  SubscriptionCollection loadPage(String url) {
    ResourceOptions options = this.prepareOptions(TokenProvider.NAKADI_EVENT_STREAM_READ);
    Response response = client.resourceProvider()
        .newResource()
        .requestThrowing(Resource.GET, url, options);

    /*
    map server response to the local collection api; the server yaml doesn't define a direct

After Change



  SubscriptionCollection loadPage(String url) {
    ResourceOptions options = this.prepareOptions(TokenProvider.NAKADI_EVENT_STREAM_READ);
    PolicyBackoff backoff = policyBackoffForCollectionPage();
    Response response = client.resourceProvider()
        .newResource()
        .policyBackoff(backoff)
        .requestThrowing(Resource.GET, url, options);

    /*
    map server response to the local collection api; the server yaml doesn't define a direct